package com.opengw.beans;

import java.util.ArrayList;
import java.util.List;

import javax.annotation.PostConstruct;

import org.primefaces.model.DefaultTreeNode;
import org.primefaces.model.TreeNode;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import com.opengw.configuration.entity.PublishTask;

@Component
@Scope("view")
@Qualifier("publishListBean")
public class PublishListBean {

	private List<PublishTask> publishTaskList;

	public PublishListBean() {
		setPublishTaskList(new ArrayList<PublishTask>());
		for(int k = 0;k<55;k++ ){	
			publishTaskList.add(new PublishTask(0));
		}
		
		System.out.println("GİRDİ");

	}

	public void setPublishTaskList(List<PublishTask> publishTaskList) {
		this.publishTaskList = publishTaskList;
	}

	public List<PublishTask> getPublishTaskList() {
		return publishTaskList;
	}

}
